package com.healthcloud.service;

import java.util.List;

import com.healthcloud.entity.Department;
import com.healthcloud.utils.PageParam;

/**
 * Created by houxianghua on 2015/7/10.
 */
public interface DepartmentService {
    Department get(int id);

    List<Department> findByEntityAll(Department entity);

    List<Department> search(Department entity, PageParam pageParam);

    int count(Department entity);

    int save(Department entity);

    int update(Department entity);

    int delete(int id);

    int deletes(int[] ids);

    int logicalDelete(int id);

    int logicalDeletes(int[] id);
}
